package com.autumn.scheduler.api.services.dto.input;

import com.autumn.validation.constraints.NotNullOrBlank;
import org.hibernate.validator.constraints.Length;

/**
 * 添加任务输入
 * 
 * @author 老码农 2018-03-20 23:33:47
 */
public class AutumnJobDetailsAddInput extends AbstractAutumnJobDetailsInput {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7987692698271216018L;

	@NotNullOrBlank(message = "任务组不能为空")
	@Length(message = "任务组长度超过190", max = 190)
	private String jobGroup;

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

}
